package casia.isiteam.springbootshiro.model.po.common;

import org.springframework.data.annotation.Version;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;
import java.util.Map;

/**
 * Author wzy
 * Date 2018/1/16 11:17
 */
public interface IpInfoRepository extends JpaRepository<IpInfo,Integer> {
//   IpInfo saveAndFlush (IpInfo ipInfo);
//   IpInfo  save(IpInfo ipInfo);

   List<IpInfo> findByUserId(int user_id, Pageable pageable);
}
